tests/core: Assume C.UTF-8 if locale isn't found
authorAlex Kiernan <alex.kiernan@gmail.com>
Thu, 31 Oct 2019 11:28:07 +0000 (11:28 +0000)
committerAlex Kiernan <alex.kiernan@gmail.com>
Fri, 1 Nov 2019 05:05:53 +0000 (05:05 +0000)
commit3d48021fb0892721fab8359b49470e521aaed493
treef07d323a8a40e85c523614e83de4051c37db90c3
parentfb519f0361565cad0d340095263a1e8866ec4f89
tests/core: Assume C.UTF-8 if locale isn't found

When building with musl there's no locale command, also its default
locale is C.UTF-8, so just get C.UTF-8 if we can't find locale.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
tests/libtest-core.sh